{extends file="./main.tpl"}
{block name=head}
<link href="./css/amount.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="./js/autoReceive.js"></script>
{/block}
{block name=body}
<center><h1 style="font-size:20px;">Amount Receive</h1></center>
<form name="amountRecieveForm" action="{$smarty.server.PHP_SELF}" method="post">
  <span><p align="center"><font color="red" size="2"><b>{$msg}</b></font></p></span>
  <table class="loanFont" align="center">
    <tr>
      <th align="right" align="right"> Date : </th>
      <td>{html_select_date prefix='curDate' day_extra='id="curDay"'  year_extra='Id="curYear"'  month_extra='id="curMonth"'  field_order="DmY" month_format="%m" start_year='-5' end_year='+5' time=$today|date_format:"%d-%m-%Y" day_value_format="%02d"}</td>
    </tr>
    <tr>
      <th align="right"> Amount Receive : </th>
      <td><input type="text" name="amountReceiveTxt" autofocus="autofocus"></td>
    </tr>
    <tr>
      <th align="right"> Loan No : </th>
      <td><input type="text" name="loanNoTxt" id="loanNoTxt"></td>
    </tr>
    <tr>
      <th align="right" valign="top">Note : </th>
      <td><textarea rows="7" name="amountReceiveNoteTxt"></textarea></td>
    </tr>
    <tr>
      <td colspan="2" align="center"><input type="button" class="styled-button-2" name="submitamountReceive" value="    Submit    " onclick="return ckhInterestPending();"></td>
    </tr>
  </table>
</form>
{/block}